<?php 
//配置文件
$settings = [
    'settings'=>[
        'debug'=>true,
        'determineRouteBeforeAppMiddleware' => false,
        'displayErrorDetails' => true,
        'db'=>[
            'driver'=>'mysql',
            'host'=>'127.0.0.1',
            'database'=>'slim',
            'username'=>'root',
            'password'=>'qwer@1234',
            'charset'=>'utf8',
            'collation'=>'utf8_general_ci',
            'prefix'=>'',
        ],
        'redis'=>[
            'cache_open'=>true,
            'host'=>'127.0.0.1',
            'port'=>6379,
            'timeout'=>2,
            'pconnect'=>false,
            'prefix'=>'slim_',
            'auth'=>'',
            'dbname'=>'0',
        ]
    ],
    'url'=>'http://45.40.207.184',//主域名
];
